<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<html>
<jsp:include page="../common/common.jsp"/>
<script type="text/javascript" src="/static/js/system/accidentBillItem.js"></script>
<head>
    <title>事故受理表</title>
</head>
<body>

<table id="accident_list"></table>

<div id="accident_toolbar">
    <a id="submit_btn" class="easyui-linkbutton" href="#" iconCls="icon-edit" plain="true" data-cmd="edit">编辑事故资料</a>
    <a class="easyui-linkbutton" href="#" iconCls="icon-edit" plain="true" data-cmd="info">填写赔损人信息</a>
    <a class="easyui-linkbutton" href="#" iconCls="icon-ok" plain="true" data-cmd="appear">上报审批</a>
    <a class="easyui-linkbutton" href="#" iconCls="icon-reload" plain="true" data-cmd="reload">刷新</a>
    <input id="keyword" type="text" class="easyui-textbox" name="keyword" prompt="关键字"/>
    <a class="easyui-linkbutton" href="#" iconCls="icon-search" plain="true" data-cmd="query">查询</a>
</div>

<div id="accident_buttons">
    <a href="#" class="easyui-linkbutton" iconCls="icon-save" plain="true" data-cmd="save">保存</a>
    <a href="#" class="easyui-linkbutton" iconCls="icon-cancel" plain="true" data-cmd="cancel">取消</a>
</div>

<div id="loss_buttons">
    <a href="#" class="easyui-linkbutton" iconCls="icon-save" plain="true" data-cmd="lossSave">保存</a>
    <a href="#" class="easyui-linkbutton" iconCls="icon-cancel" plain="true" data-cmd="lossCancel">取消</a>
</div>

<!--事故资料弹出框-->
<div id="accident_dialog">
    <form method="post" id="accident_form" style="margin-top: 20px">
        <input type="hidden" name="id">
        <table style="margin: 0 auto">
            <tr>
                <td align="center">责任指定:</td><td align="center">
                <input type="text" name="accidentDutyAssign" class="easyui-textbox" style="width:140px"/></td>
            </tr>
            <tr>
                <td align="center">处理时间:</td><td align="center">
                <input class="easyui-datetimebox" name="visitDate"
                       data-options="required:true,showSeconds:false" style="width:140px"></td>
            </tr>
            <tr>
                <td align="center">事故描述:</td><td align="center">
                 <textarea name="accidentDescribe" id="type_AccidentDescribe"
                           class="easyui-validatebox"  style="height:60px;width: 140px">
                    </textarea></td>
            </tr>
            <tr>
                <td align="center">补充描述:</td><td align="center">
                 <textarea name="remark" id="type_Remark"
                           class="easyui-validatebox"  style="height:60px;width: 140px">
                    </textarea></td>
            </tr>
        </table>
    </form>
</div>

<!--表单弹出框-->
<div id="loss_dialog">
    <form method="post" id="loss_form" style="margin-top: 20px">
        <input id="id" type="hidden" name="id">
        <table style="margin: 0 auto">
            <tr>
                <td align="center">
                <input label="保单号:" labelWidth="70px" type="text" data-options="required:true"
                       id="sn" name="sn" class="easyui-textbox" style="width: 200px"/></td>
            </tr>
            <td><div class="btn-separator" style="height: 10px"></div></td>
            <tr>
                <td align="center">
                <input label="收款人:" labelWidth="70px" data-options="required:true"
                       id="receiverName" style="width: 200px" type="text" name="receiverName" class="easyui-textbox"/></td>
            </tr>
            <td><div class="btn-separator" style="height: 10px"></div></td>
            <tr>
                <td align="center">
                <input label="车牌号:" labelWidth="70px" type="text" name="carNum"
                      id="carNum" data-options="required:true" class="easyui-textbox" style="width: 200px"/></td>
            </tr>
        </table>
    </form>
</div>
</body>
</html>
